.class public Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private A:Lcom/waiqin365/lightapp/view/hr;

.field private a:Ljava/lang/String;

.field private b:Landroid/content/Context;

.field private c:Landroid/widget/ImageView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

.field private g:Ljava/util/ArrayList;

.field private h:Lcom/waiqin365/lightapp/visit/draglistview/a;

.field private i:Lcom/waiqin365/lightapp/visit/b/f;

.field private j:Landroid/view/View;

.field private k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

.field private l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

.field private m:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

.field private n:Landroid/widget/Button;

.field private o:Landroid/widget/Button;

.field private p:Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;

.field private q:Landroid/os/Handler;

.field private r:Lcom/waiqin365/lightapp/visit/b/bf;

.field private s:Landroid/widget/LinearLayout;

.field private t:Z

.field private u:Z

.field private v:Ljava/lang/String;

.field private w:Lcom/waiqin365/compons/view/c;

.field private x:Lcom/waiqin365/lightapp/visit/draglistview/m;

.field private y:Lcom/waiqin365/lightapp/visit/draglistview/r;

.field private z:Lcom/waiqin365/lightapp/visit/b/bf;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->a:Ljava/lang/String;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->t:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->u:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->v:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/lightapp/visit/be;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/be;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->x:Lcom/waiqin365/lightapp/visit/draglistview/m;

    new-instance v0, Lcom/waiqin365/lightapp/visit/bf;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/bf;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->y:Lcom/waiqin365/lightapp/visit/draglistview/r;

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->z:Lcom/waiqin365/lightapp/visit/b/bf;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->b:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;Landroid/content/Intent;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->back(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->u:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Lcom/waiqin365/lightapp/visit/b/bf;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->z:Lcom/waiqin365/lightapp/visit/b/bf;

    return-object v0
.end method

.method private back(Landroid/content/Intent;)V
    .locals 2

    if-nez p1, :cond_0

    new-instance p1, Landroid/content/Intent;

    invoke-direct {p1}, Landroid/content/Intent;-><init>()V

    :cond_0
    const-string/jumbo v0, "isModify"

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->u:Z

    invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/16 v0, 0xc8

    invoke-virtual {p0, v0, p1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->overridePendingTransition(II)V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    return-object v0
.end method

.method private d()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/visit/ba;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/ba;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->q:Landroid/os/Handler;

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    return-object v0
.end method

.method private e()V
    .locals 6

    const/16 v5, 0x8

    const/4 v4, 0x1

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bf;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setValue(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v2, v2, Lcom/waiqin365/lightapp/visit/b/bf;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/offlinedata/m;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setEmpInfo(Lcom/waiqin365/lightapp/kehu/share/a/c;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setEdit(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->m:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bf;->e:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setValue(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bf;->f:Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->i:Lcom/waiqin365/lightapp/visit/b/f;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/f;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;->setList(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->i:Lcom/waiqin365/lightapp/visit/b/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/f;->notifyDataSetChanged()V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->t:Z

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setDragEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->e:Landroid/widget/TextView;

    const v1, 0x7f08078d

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->d:Landroid/widget/TextView;

    const v1, 0x7f08028e

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setEdit(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->m:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setEdit(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->o:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->i:Lcom/waiqin365/lightapp/visit/b/f;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/visit/b/f;->a(Z)V

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->v:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->v:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/offlinedata/m;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setEmpInfo(Lcom/waiqin365/lightapp/kehu/share/a/c;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setEdit(Z)V

    :cond_1
    :goto_1
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;->b(Z)V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;->setQueryEmpId(Ljava/lang/String;)V

    return-void

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setDragEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->e:Landroid/widget/TextView;

    const v1, 0x7f08028c

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->d:Landroid/widget/TextView;

    const v1, 0x7f0804fe

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setEdit(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setMustIgnoreEdit(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->m:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setEdit(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->o:Landroid/widget/Button;

    invoke-virtual {v0, v5}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->i:Lcom/waiqin365/lightapp/visit/b/f;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/visit/b/f;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bf;->e:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->s:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->s:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bf;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_6
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/offlinedata/m;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setEmpInfo(Lcom/waiqin365/lightapp/kehu/share/a/c;)V

    goto/16 :goto_1
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Lcom/waiqin365/lightapp/visit/b/f;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->i:Lcom/waiqin365/lightapp/visit/b/f;

    return-object v0
.end method

.method private f()V
    .locals 4

    const/4 v3, 0x0

    const v0, 0x7f0c0c4f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->c:Landroid/widget/ImageView;

    const v0, 0x7f0c0c51

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->d:Landroid/widget/TextView;

    const v0, 0x7f0c0c52

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->e:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->d:Landroid/widget/TextView;

    const v1, 0x7f080012

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->e:Landroid/widget/TextView;

    const v1, 0x7f08078d

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->e:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c01cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->b:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030220

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->j:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->j:Landroid/view/View;

    const v1, 0x7f0c0ae2

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->s:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->j:Landroid/view/View;

    const v1, 0x7f0c0ae0

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    const v1, 0x7f080328

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setHint(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    const v1, 0x7f080500

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setMustIgnoreEdit(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->j:Landroid/view/View;

    const v1, 0x7f0c0ae1

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setMustinput(Ljava/lang/String;)V

    sget-boolean v0, Lcom/fiberhome/gaea/client/c/b;->v:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    sget-object v1, Lcom/waiqin365/base/db/offlinedata/q;->a:Lcom/waiqin365/base/db/offlinedata/q;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setAclType(Lcom/waiqin365/base/db/offlinedata/q;)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    const v1, 0x7f08014b

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    const v1, 0x7f080744

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setHint(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    new-instance v1, Lcom/waiqin365/lightapp/visit/bb;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/bb;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setOnEmployeeSelectListener(Lcom/waiqin365/lightapp/view/eq;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->j:Landroid/view/View;

    const v1, 0x7f0c0215

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->m:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->m:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->m:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const v1, 0x7f08069a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->m:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const v1, 0x7f08032c

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setHint(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->j:Landroid/view/View;

    const v1, 0x7f0c0ae8

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->o:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->j:Landroid/view/View;

    const v1, 0x7f0c0ae7

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->n:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->n:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->o:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->j:Landroid/view/View;

    const v1, 0x7f0c0ae3

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->j:Landroid/view/View;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->addHeaderView(Landroid/view/View;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    sget-object v1, Lcom/waiqin365/base/db/offlinedata/q;->b:Lcom/waiqin365/base/db/offlinedata/q;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setAclType(Lcom/waiqin365/base/db/offlinedata/q;)V

    goto/16 :goto_0
.end method

.method private g()V
    .locals 3

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->t:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    const v1, 0x7f080071

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/waiqin365/lightapp/visit/bc;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/visit/bc;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)V

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setOnSelectClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/view/er;)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;

    new-instance v1, Lcom/waiqin365/lightapp/visit/bd;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/bd;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;->setOnSizeChange(Lcom/waiqin365/lightapp/view/cd;)V

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->t:Z

    return v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->w:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private h()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->a(Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;)Lcom/waiqin365/lightapp/visit/draglistview/a;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->h:Lcom/waiqin365/lightapp/visit/draglistview/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->h:Lcom/waiqin365/lightapp/visit/draglistview/a;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setFloatViewManager(Lcom/waiqin365/lightapp/visit/draglistview/n;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->h:Lcom/waiqin365/lightapp/visit/draglistview/a;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setDragEnabled(Z)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->a()Landroid/widget/ListView;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->x:Lcom/waiqin365/lightapp/visit/draglistview/m;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setDropListener(Lcom/waiqin365/lightapp/visit/draglistview/m;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->y:Lcom/waiqin365/lightapp/visit/draglistview/r;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setRemoveListener(Lcom/waiqin365/lightapp/visit/draglistview/r;)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/f;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/visit/b/f;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->i:Lcom/waiqin365/lightapp/visit/b/f;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->i:Lcom/waiqin365/lightapp/visit/b/f;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setAdapter(Landroid/widget/ListAdapter;)V

    return-void
.end method

.method private i()V
    .locals 5

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const v0, 0x7f080328

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->c()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_1
    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-nez v1, :cond_3

    :cond_2
    const v0, 0x7f080009

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_3
    move v1, v2

    :goto_1
    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-ge v1, v3, :cond_4

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, ","

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    move-object v0, v3

    goto :goto_1

    :cond_4
    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v2, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    :cond_5
    new-instance v1, Lcom/waiqin365/lightapp/visit/b/bf;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/visit/b/bf;-><init>()V

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->z:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->z:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    iput-object v2, v1, Lcom/waiqin365/lightapp/visit/b/bf;->f:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->z:Lcom/waiqin365/lightapp/visit/b/bf;

    const-string/jumbo v2, ""

    iput-object v2, v1, Lcom/waiqin365/lightapp/visit/b/bf;->c:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->z:Lcom/waiqin365/lightapp/visit/b/bf;

    iput-object v4, v1, Lcom/waiqin365/lightapp/visit/b/bf;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->z:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->m:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->d()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/visit/b/bf;->e:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->z:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/visit/b/bf;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->z:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/visit/b/bf;->b:Ljava/lang/String;

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    if-eqz v2, :cond_6

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v2, v2, Lcom/waiqin365/lightapp/visit/b/bf;->c:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_6

    const-string/jumbo v2, "lineData.id"

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    iget-object v3, v3, Lcom/waiqin365/lightapp/visit/b/bf;->c:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_6
    const-string/jumbo v2, "lineData.name"

    invoke-virtual {v1, v2, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "lineData.visitor"

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v3

    iget-object v3, v3, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "lineData.remarks"

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->m:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->d()Ljava/lang/CharSequence;

    move-result-object v3

    invoke-interface {v3}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "lineData.customers"

    invoke-virtual {v1, v2, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "lineData.token"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->a:Ljava/lang/String;

    invoke-virtual {v1, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const v0, 0x7f08021c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v2, Lcom/waiqin365/lightapp/visit/a/a/x;

    invoke-direct {v2, v0, v1}, Lcom/waiqin365/lightapp/visit/a/a/x;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->q:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    goto/16 :goto_0
.end method


# virtual methods
.method public a()Landroid/widget/ListView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    return-object v0
.end method

.method public a(Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;)Lcom/waiqin365/lightapp/visit/draglistview/a;
    .locals 3

    const/4 v2, 0x1

    new-instance v0, Lcom/waiqin365/lightapp/visit/draglistview/a;

    invoke-direct {v0, p1}, Lcom/waiqin365/lightapp/visit/draglistview/a;-><init>(Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;)V

    const v1, 0x7f0c0c4c

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->c(I)V

    const v1, 0x7f0c0c4e

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->d(I)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/visit/draglistview/a;->b(Z)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/visit/draglistview/a;->a(Z)V

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->a(I)V

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->b(I)V

    return-object v0
.end method

.method public b()V
    .locals 5

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_4

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_1
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_2

    const v0, 0x7f08057c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :goto_1
    return-void

    :cond_2
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    invoke-virtual {v2, p0}, Lcom/waiqin365/base/login/mainview/a;->g(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "1"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    const-string/jumbo v2, "tradeType"

    const-string/jumbo v3, "1"

    invoke-virtual {v0, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :goto_2
    new-instance v2, Landroid/content/Intent;

    const-class v3, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;

    invoke-direct {v2, p0, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v3, "select"

    invoke-virtual {v2, v3, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v3, "all"

    invoke-virtual {v2, v3, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "isNear"

    invoke-virtual {v2, v1, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "draw_line_between_points"

    const/4 v3, 0x1

    invoke-virtual {v2, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "jsonHashMap"

    invoke-virtual {v2, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->overridePendingTransition(II)V

    goto :goto_1

    :cond_3
    const-string/jumbo v2, "tradeType"

    const-string/jumbo v3, "3"

    invoke-virtual {v0, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_2

    :cond_4
    const v0, 0x7f080009

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_1
.end method

.method public back()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->back(Landroid/content/Intent;)V

    return-void
.end method

.method public c()V
    .locals 8

    const/4 v4, 0x0

    const-string/jumbo v0, "add_route_cm_sort"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->t:Z

    if-eqz v1, :cond_0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->A:Lcom/waiqin365/lightapp/view/hr;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f0c0ae5

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/view/hr;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->A:Lcom/waiqin365/lightapp/view/hr;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->A:Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f080022

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->A:Lcom/waiqin365/lightapp/view/hr;

    new-instance v1, Lcom/waiqin365/lightapp/visit/bh;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/bh;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Landroid/widget/PopupWindow$OnDismissListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->A:Lcom/waiqin365/lightapp/view/hr;

    sget-object v1, Lcom/waiqin365/lightapp/view/ht;->c:Lcom/waiqin365/lightapp/view/ht;

    sget-object v2, Lcom/waiqin365/lightapp/view/hu;->b:Lcom/waiqin365/lightapp/view/hu;

    const/16 v3, 0x7d

    const/16 v5, 0x32

    move v6, v4

    move v7, v4

    invoke-virtual/range {v0 .. v7}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;IIIII)V

    :cond_0
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    packed-switch p1, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->t:Z

    if-nez v0, :cond_0

    if-eqz p3, :cond_0

    const-string/jumbo v0, "isModify"

    const/4 v1, 0x0

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->u:Z

    const-string/jumbo v0, "route"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bf;

    if-eqz v0, :cond_0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->e()V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x130
        :pswitch_0
    .end packed-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 6

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->w:Lcom/waiqin365/compons/view/c;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->b:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f08028f

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v3

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->b:Landroid/content/Context;

    const-string/jumbo v2, ""

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/visit/bg;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/visit/bg;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->w:Lcom/waiqin365/compons/view/c;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->w:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0

    :sswitch_1
    const v0, 0x7f08078d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->e:Landroid/widget/TextView;

    invoke-virtual {v1}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->i()V

    goto :goto_0

    :cond_1
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->b:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "route"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "isEdit"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/16 v1, 0x130

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectMultView_vertical;->f()V

    goto :goto_0

    :sswitch_3
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->b()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0ae7 -> :sswitch_3
        0x7f0c0ae8 -> :sswitch_2
        0x7f0c0c4f -> :sswitch_0
        0x7f0c0c52 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    iput-object p0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->b:Landroid/content/Context;

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f030221

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "route"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bf;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->r:Lcom/waiqin365/lightapp/visit/b/bf;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isEdit"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->t:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "visitorId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->v:Ljava/lang/String;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->f()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->h()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->e()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g()V

    return-void
.end method

.method public onWindowFocusChanged(Z)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onWindowFocusChanged(Z)V

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;->c()V

    :cond_0
    return-void
.end method
